//
//  DomainClient.h
//  Proto
//
//  Created by kingly on 15/11/22.
//  Copyright © 2015年 Will. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "GCDAsyncSocket.h"

@interface DomainClient : UIViewController <GCDAsyncSocketDelegate>

@property (readonly) GCDAsyncSocket *socket;
@property (strong) IBOutlet UITextView *outputView;
@property (strong) IBOutlet UITextField *inputView;

- (void)connectToUrl:(NSURL *)url;

- (IBAction)send:(id)sender;

@end
